package cn.kzgg.ymcc.dto;

import cn.kzgg.ymcc.domain.*;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class CourseDto {

        @NotNull
        private Course course;
        private CourseDetail courseDetail;
        private CourseMarket courseMarket;
        private CourseResource courseResource;
        @NotEmpty(message = "讲师必选")
        private List<Long> teacharIds;
}
